package com.t2t.top.action.$15observer.spring;

/**
 * Created by yangpengfei on 2016/8/4.
 */
public class MyListener2 implements ApplicationListener {

    @Override
    public void onApplicationEvent(ApplicationEvent event) {
        if (event.getSource() instanceof Integer) {
            System.out.println("MyListener2 Integer:" + event.getSource());
        }
        if (event.getSource() instanceof String) {
            System.out.println("MyListener2 String:" + event.getSource());
        }
    }
}
